home *** CD-ROM | disk | FTP | other *** search
/ Personal Computer World 2009 February / PCWFEB09.iso / Software / Resources / Optimisation & Diagnostics / UpdateStar 2.5 / UpdateStar_ENU.msi / DetailsXsl < prev    next >
Extensible Markup Language  |  2008-10-15  |  35KB  |  1,104 lines

  1. <?xml version="1.0" encoding="iso-8859-1"?>
  2. <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
  3.  
  4. <xsl:template match="details/stylepath"></xsl:template>
  5. <xsl:template match="details/language"></xsl:template>
  6. <xsl:template match="details/largefont"></xsl:template>
  7.  
  8. <xsl:variable name="language"><xsl:value-of select="details/language"/></xsl:variable>
  9. <xsl:variable name="largefont"><xsl:value-of select="details/largefont"/></xsl:variable>
  10. <xsl:variable name="stylepathorig"><xsl:value-of select="details/stylepath"/></xsl:variable>
  11. <xsl:variable name="stylepath"><xsl:copy-of select="$stylepathorig"/>\img\</xsl:variable>
  12.  
  13.  
  14.  
  15.  
  16.  
  17.  
  18. <xsl:variable name="mynotes"><xsl:value-of select="details/software/installed/notes"/></xsl:variable>
  19. <xsl:variable name="disablenotes"><xsl:value-of select="details/software/installed/notes/disable"/></xsl:variable>
  20. <xsl:variable name="iname"><xsl:value-of select="details/software/installed/name"/></xsl:variable>
  21. <xsl:variable name="iversion"><xsl:value-of select="details/software/installed/version"/></xsl:variable>
  22. <xsl:variable name="ipublisher"><xsl:value-of select="details/software/installed/publisher"/></xsl:variable>
  23. <xsl:variable name="irequirements"><xsl:value-of select="details/software/installed/requirements"/></xsl:variable>
  24. <xsl:variable name="ilincense"><xsl:value-of select="details/software/installed/license"/></xsl:variable>
  25. <xsl:variable name="icontact"><xsl:value-of select="details/software/installed/contact"/></xsl:variable>
  26. <xsl:variable name="ihelplink"><xsl:value-of select="details/software/installed/helplink"/></xsl:variable>
  27. <xsl:variable name="itelephone"><xsl:value-of select="details/software/installed/telephone"/></xsl:variable>
  28. <xsl:variable name="ireadme1"><xsl:value-of select="details/software/installed/readme/display"/></xsl:variable>
  29. <xsl:variable name="ireadme2"><xsl:value-of select="details/software/installed/readme/cmd"/></xsl:variable>
  30. <xsl:variable name="iupdates"><xsl:value-of select="details/software/installed/updates"/></xsl:variable>
  31. <xsl:variable name="icomment"><xsl:value-of select="details/software/installed/comment"/></xsl:variable>
  32. <xsl:variable name="idate"><xsl:value-of select="details/software/installed/date"/></xsl:variable>
  33. <xsl:variable name="isize"><xsl:value-of select="details/software/installed/size"/></xsl:variable>
  34. <xsl:variable name="iuninstall"><xsl:value-of select="details/software/installed/uninstall"/></xsl:variable>
  35. <xsl:variable name="irepair"><xsl:value-of select="details/software/installed/repair"/></xsl:variable>
  36. <xsl:variable name="imodify"><xsl:value-of select="details/software/installed/modify"/></xsl:variable>
  37. <xsl:variable name="idesciption"><xsl:value-of select="details/software/installed/description"/></xsl:variable>
  38. <xsl:variable name="ishortdescr"><xsl:value-of select="details/software/installed/shortdescr"/></xsl:variable>
  39. <xsl:variable name="icategory"><xsl:value-of select="details/software/installed/category"/></xsl:variable>
  40. <xsl:variable name="ipcategory"><xsl:value-of select="details/software/installed/parentcategory"/></xsl:variable>
  41.  
  42.  
  43. <xsl:variable name="ibuybuttons"><xsl:value-of select="details/software/installed/BuyButtons"/></xsl:variable>
  44. <xsl:variable name="iprodkey"><xsl:value-of select="details/software/installed/prodkey"/></xsl:variable>
  45. <xsl:variable name="irating"><xsl:value-of select="details/software/installed/rating"/></xsl:variable>
  46.  
  47. <xsl:variable name="idownloadbuttons"><xsl:value-of select="details/software/installed/DownloadButtons"/></xsl:variable>
  48.  
  49.  
  50.  
  51. <xsl:template match="details/software/update/version"></xsl:template>
  52. <xsl:template match="details/software/update/size"></xsl:template>
  53.  
  54. <xsl:variable name="uversion"><xsl:value-of select="details/software/update/version"/></xsl:variable>
  55. <xsl:variable name="usize"><xsl:value-of select="details/software/update/size"/></xsl:variable>
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.  
  64.  
  65. <xsl:variable name="allranking">
  66.     <xsl:element name="table">
  67.         <xsl:attribute name="border">0</xsl:attribute>
  68.         <xsl:attribute name="cellpadding">0</xsl:attribute>
  69.         <xsl:attribute name="cellspacing">0</xsl:attribute>
  70.         <xsl:attribute name="class">tableranking<xsl:value-of select="details/software/installed/avrating"/></xsl:attribute>
  71.             <tr>
  72.                 <td>
  73.                     <xsl:element name="img">
  74.                         <xsl:attribute name="alt"></xsl:attribute>
  75.                         <xsl:attribute name="border">0</xsl:attribute>
  76.                         <xsl:attribute name="src"><xsl:copy-of select="$stylepath"/>/tbl/shim.gif</xsl:attribute>
  77.                         <xsl:attribute name="width">53</xsl:attribute>
  78.                         <xsl:attribute name="height">10</xsl:attribute>
  79.                     </xsl:element>
  80.                 </td>
  81.             </tr>
  82.     </xsl:element>
  83. </xsl:variable>
  84.  
  85.  
  86.  
  87.  
  88.  
  89.  
  90.  
  91.  
  92.  
  93.  
  94.  
  95.  
  96. <xsl:variable name="ranking">
  97.     <table border="0" cellpadding="0" cellspacing="0" class="tableranking0" id="tableranking">
  98.         <tr>
  99.             <td>
  100.                 <xsl:element name="a">
  101.                     <xsl:attribute name="href">#</xsl:attribute>
  102.                     <xsl:attribute name="onclick">setranking('0','1','<xsl:copy-of select="$iprodkey"/>');return false;</xsl:attribute>
  103.                     <xsl:element name="img">
  104.                         <xsl:attribute name="alt">1</xsl:attribute>
  105.                         <xsl:attribute name="border">0</xsl:attribute>
  106.                         <xsl:attribute name="src"><xsl:copy-of select="$stylepath"/>/tbl/shim.gif</xsl:attribute>
  107.                         <xsl:attribute name="width">11</xsl:attribute>
  108.                         <xsl:attribute name="height">10</xsl:attribute>
  109.                         <xsl:attribute name="onmouseover">changeranking('1');</xsl:attribute>
  110.                         <xsl:attribute name="onmouseout">changeranking(ranking);</xsl:attribute>
  111.                     </xsl:element>
  112.                 </xsl:element>
  113.             </td>
  114.             <td>
  115.                 <xsl:element name="a">
  116.                     <xsl:attribute name="href">#</xsl:attribute>
  117.                     <xsl:attribute name="onclick">setranking('0','2','<xsl:copy-of select="$iprodkey"/>');return false;</xsl:attribute>
  118.                     <xsl:element name="img">
  119.                         <xsl:attribute name="alt">2</xsl:attribute>
  120.                         <xsl:attribute name="border">0</xsl:attribute>
  121.                         <xsl:attribute name="src"><xsl:copy-of select="$stylepath"/>/tbl/shim.gif</xsl:attribute>
  122.                         <xsl:attribute name="width">11</xsl:attribute>
  123.                         <xsl:attribute name="height">10</xsl:attribute>
  124.                         <xsl:attribute name="onmouseover">changeranking('2');</xsl:attribute>
  125.                         <xsl:attribute name="onmouseout">changeranking(ranking);</xsl:attribute>
  126.                     </xsl:element>
  127.                 </xsl:element>
  128.             </td>
  129.             <td>
  130.                 <xsl:element name="a">
  131.                     <xsl:attribute name="href">#</xsl:attribute>
  132.                     <xsl:attribute name="onclick">setranking('0','3','<xsl:copy-of select="$iprodkey"/>');return false;</xsl:attribute>
  133.                     <xsl:element name="img">
  134.                         <xsl:attribute name="alt">3</xsl:attribute>
  135.                         <xsl:attribute name="border">0</xsl:attribute>
  136.                         <xsl:attribute name="src"><xsl:copy-of select="$stylepath"/>/tbl/shim.gif</xsl:attribute>
  137.                         <xsl:attribute name="width">11</xsl:attribute>
  138.                         <xsl:attribute name="height">10</xsl:attribute>
  139.                         <xsl:attribute name="onmouseover">changeranking('3');</xsl:attribute>
  140.                         <xsl:attribute name="onmouseout">changeranking(ranking);</xsl:attribute>
  141.                     </xsl:element>
  142.                 </xsl:element>
  143.             </td>
  144.             <td>
  145.                 <xsl:element name="a">
  146.                     <xsl:attribute name="href">#</xsl:attribute>
  147.                     <xsl:attribute name="onclick">setranking('0','4','<xsl:copy-of select="$iprodkey"/>');return false;</xsl:attribute>
  148.                     <xsl:element name="img">
  149.                         <xsl:attribute name="alt">4</xsl:attribute>
  150.                         <xsl:attribute name="border">0</xsl:attribute>
  151.                         <xsl:attribute name="src"><xsl:copy-of select="$stylepath"/>/tbl/shim.gif</xsl:attribute>
  152.                         <xsl:attribute name="width">11</xsl:attribute>
  153.                         <xsl:attribute name="height">10</xsl:attribute>
  154.                         <xsl:attribute name="onmouseover">changeranking('4');</xsl:attribute>
  155.                         <xsl:attribute name="onmouseout">changeranking(ranking);</xsl:attribute>
  156.                     </xsl:element>
  157.                 </xsl:element>
  158.             </td>
  159.             <td>
  160.                 <xsl:element name="a">
  161.                     <xsl:attribute name="href">#</xsl:attribute>
  162.                     <xsl:attribute name="onclick">setranking('0','5','<xsl:copy-of select="$iprodkey"/>');return false;</xsl:attribute>
  163.                     <xsl:element name="img">
  164.                         <xsl:attribute name="alt">5</xsl:attribute>
  165.                         <xsl:attribute name="border">0</xsl:attribute>
  166.                         <xsl:attribute name="src"><xsl:copy-of select="$stylepath"/>/tbl/shim.gif</xsl:attribute>
  167.                         <xsl:attribute name="width">11</xsl:attribute>
  168.                         <xsl:attribute name="height">10</xsl:attribute>
  169.                         <xsl:attribute name="onmouseover">changeranking('5');</xsl:attribute>
  170.                         <xsl:attribute name="onmouseout">changeranking(ranking);</xsl:attribute>
  171.                     </xsl:element>
  172.                 </xsl:element>
  173.             </td>
  174.         </tr>
  175.     </table>
  176.  
  177. </xsl:variable>
  178.  
  179.  
  180.  
  181.  
  182.  
  183.  
  184.  
  185. <xsl:variable name="mynotesfield">
  186.     <xsl:element name="div">
  187.         <xsl:attribute name="style">width:418px;height:184px;margin-right:20px;background-image: url(<xsl:copy-of select="$stylepath"/>/stickie.png);background-repeat:no-repeat; border-style: none; padding-right:70px;padding-left:10px;color:#000000</xsl:attribute>
  188.  
  189.         <xsl:element name="textarea">
  190.             <xsl:attribute name="style">width:330px;height:167px;border-style: none; margin-top:5px;overflow:auto;color:#000000; background-color:#ECE3B1</xsl:attribute>
  191.             <xsl:attribute name="id">mynotesfield</xsl:attribute>
  192.             <xsl:attribute name="onkeyup">SaveMyNotes('<xsl:copy-of select="$iprodkey"/>', this.value);</xsl:attribute>
  193.         
  194.             <xsl:if test="not($disablenotes='')">    
  195.                 <xsl:attribute name="ReadOnly"></xsl:attribute>
  196.             </xsl:if>
  197.             <xsl:copy-of select="$mynotes"/>
  198.         </xsl:element>
  199.     </xsl:element>
  200.  
  201. </xsl:variable>
  202.  
  203.  
  204.  
  205.  
  206.  
  207.  
  208.  
  209.  
  210.  
  211. <xsl:template match="details/software">
  212. <html><head>
  213.  
  214.  
  215. <xsl:element name="link">
  216.     <xsl:attribute name="href"><xsl:copy-of select="$stylepathorig"/>\style.css</xsl:attribute>
  217.     <xsl:attribute name="rel">stylesheet</xsl:attribute>
  218.     <xsl:attribute name="type">text/css</xsl:attribute>
  219. </xsl:element>
  220.  
  221. <xsl:if test="$largefont='yes'">
  222.     <style type="text/css">
  223.         td     {
  224.             font-size: 16px;
  225.         }
  226.         
  227.         td.desc{
  228.             font-size:13px;
  229.         }
  230.         td.normal{
  231.             font-size:13px;
  232.         }
  233.         a.sublink{
  234.             font-size:11px;
  235.             font-weight:bold;
  236.         }
  237.     </style>
  238. </xsl:if>
  239.  
  240. <!--
  241. <xsl:element name="SCRIPT">
  242.     <xsl:attribute name="language">JavaScript</xsl:attribute>
  243.     <xsl:attribute name="SRC"><xsl:copy-of select="$stylepathorig"/>\<xsl:copy-of select="$language"/>.js</xsl:attribute>
  244. </xsl:element>
  245.  
  246.  
  247. <xsl:element name="SCRIPT">
  248.     <xsl:attribute name="language">JavaScript</xsl:attribute>
  249.     <xsl:attribute name="SRC"><xsl:copy-of select="$stylepathorig"/>\slang.js</xsl:attribute>
  250. </xsl:element>
  251. -->
  252.  
  253.  
  254.  
  255. <xsl:element name="SCRIPT">
  256.     <xsl:attribute name="language">JavaScript</xsl:attribute>
  257. <![CDATA[
  258.  
  259.     function setranking(old, rank, key){
  260.         document.getElementById('tableranking').className = 'tableranking' + rank; 
  261.         window.external.RatingChange(key, old, rank);
  262.         ranking = rank;
  263.         return false;
  264.     }
  265.     
  266.     function esetranking(rank){
  267.         document.getElementById('tableranking').className = 'tableranking' + rank; 
  268.         ranking = rank;
  269.         return false;
  270.     }
  271.  
  272.     
  273.     function changeranking(rank){
  274.         document.getElementById('tableranking').className = 'tableranking' + rank; 
  275.         return false;
  276.     }
  277.   
  278.   function changeprice(linkid, price){
  279.     if(document.getElementById(linkid))document.getElementById(linkid).innerHTML = price; 
  280.     if(document.getElementById(linkid))document.getElementById(linkid + 'ani').style.display = 'none';
  281.   }
  282.   
  283.   function GetPriceIntern(linkid, key){
  284.     window.external.GetPrice(linkid, key);
  285.     document.getElementById(linkid).innerHTML = ' ';
  286.     document.getElementById(linkid + 'ani').style.display = 'inline';
  287.     return false;
  288.   }
  289.   
  290.     function SaveMyNotes(key, notes){
  291. //        alert(key +"----"+ notes);
  292.         window.external.SaveNotes(notes, key);
  293.     }
  294. ]]>
  295. </xsl:element>
  296.  
  297.  
  298.  
  299.  
  300.  
  301.  
  302.  
  303.  
  304.  
  305.  
  306.  
  307.  
  308.  
  309.  
  310.  
  311.  
  312.  
  313.  
  314.  
  315.  
  316. <xsl:element name="SCRIPT">
  317.     <xsl:attribute name="language">JavaScript</xsl:attribute>
  318. function translate(){
  319.     for (newalt in sfields) {
  320.         
  321.         sfields[newalt] = window.external.GetString(sfields[newalt]);
  322.         
  323.         if(document.getElementById(newalt) ){
  324.             if(document.getElementById(newalt).alt){//image
  325.                 document.getElementById(newalt).alt=sfields[newalt];
  326.             }else if(document.getElementById(newalt).value == ""){//input
  327.                 document.getElementById(newalt).value=sfields[newalt];
  328.             }else{
  329.                 document.getElementById(newalt).innerHTML=sfields[newalt];//default div element
  330.             }
  331.         }
  332.  
  333.             if(document.getElementById(newalt + "_" + 0)){
  334.                 document.getElementById(newalt + "_" + 0).innerHTML=sfields[newalt];
  335.             }
  336.             
  337.             if(document.getElementById(newalt + "_" + 1)){
  338.                 document.getElementById(newalt + "_" + 1).innerHTML=sfields[newalt];
  339.             }
  340.             
  341.             if(document.getElementById(newalt + "_" + 2)){
  342.                 document.getElementById(newalt + "_" + 2).innerHTML=sfields[newalt];
  343.             }
  344.             
  345.             if(document.getElementById(newalt + "_" + 3)){
  346.                 document.getElementById(newalt + "_" + 3).innerHTML=sfields[newalt];
  347.             }
  348.             
  349.             if(document.getElementById(newalt + "_" + 4)){
  350.                 document.getElementById(newalt + "_" + 4).innerHTML=sfields[newalt];
  351.             }
  352.             
  353.             if(document.getElementById(newalt + "_" + 5)){
  354.                 document.getElementById(newalt + "_" + 5).innerHTML=sfields[newalt];
  355.             }
  356.                 
  357.         }
  358. }
  359.  
  360.  
  361. var sfields = new Array();
  362.  
  363. sfields["str_noupdate"]        = 600;
  364. sfields["str_yesupdate"]    = 601;
  365. sfields["str_lastscan"]        = 602;
  366. sfields["str_foundprogs"]    = 603;
  367. sfields["str_foundupdates"]    = 604;
  368. sfields["searchbutton"]        = 605;
  369. sfields["listbutton"]        = 606;
  370. sfields["str_availupdates"]    = 607;
  371. sfields["str_availvers"]    = 608;
  372. sfields["str_availnews"]    = 609;
  373. sfields["str_pname"]        = 610;
  374. sfields["str_publisher"]    = 611;
  375. sfields["str_category"]     = 612;
  376. sfields["str_license"]         = 613;
  377. sfields["str_irequirements"]= 614;
  378. sfields["str_iversion"]     = 615;
  379. sfields["str_uversion"]     = 616;
  380. sfields["str_management"]     = 617;
  381. sfields["str_info"]         = 618;
  382. sfields["str_sdesc"]         = 619;
  383. sfields["str_desc"]         = 620;
  384. sfields["str_download"]     = 621;
  385. sfields["str_buynow"]         = 622;
  386. sfields["str_getprice"]     = 623;
  387. sfields["str_buyfrom"]         = 624;
  388. sfields["str_errlink"]         = 625;
  389. sfields["str_sendupdate"]     = 626;
  390. sfields["sendupdate"]         = 626;
  391. sfields["alt_uninstall"]    = 627;
  392. sfields["alt_repair"]         = 629;
  393. sfields["alt_modify"]         = 628;
  394. sfields["str_ranking"]         = 630;
  395. sfields["str_allranking"]     = 631;
  396. sfields["str_newstitle"]    = 632;
  397. sfields["str_newsdata"]     = 633;
  398. sfields["str_comment"]         = 636;
  399. sfields["str_updatetop"]     = 634;
  400. sfields["str_changevalues"] = 635;
  401.  
  402. </xsl:element>
  403.  
  404.  
  405.  
  406.  
  407.  
  408.  
  409.  
  410.  
  411.  
  412.  
  413.  
  414. </head>
  415.  
  416. <body onload="if(window.translate)translate(); ">
  417.  
  418.  
  419.  
  420.  
  421.  
  422.  
  423.  
  424.  
  425.  
  426.  
  427.  
  428. <table border="0" cellpadding="0" cellspacing="0" width="100%">
  429.     <tr>
  430.         <td style="padding-left: 10px; padding-right:10px; padding-top:10px; padding-bottom:10px;" valign="top">
  431.  
  432.  
  433.  
  434. <table border="0" cellpadding="0" cellspacing="0" width="100%" >
  435.     <tr>
  436.         <td class="status_greenl" id="nameleft"><xsl:copy-of select="$iname"/></td>
  437.         <td class="status_greenr" id="nameright">
  438.             <xsl:element name="img">
  439.                 <xsl:attribute name="src"><xsl:copy-of select="$stylepath"/>/tbl/shim.gif</xsl:attribute>
  440.                 <xsl:attribute name="width">19</xsl:attribute>
  441.                 <xsl:attribute name="height">23</xsl:attribute>
  442.             </xsl:element>
  443.         </td>
  444.     </tr>
  445. </table>
  446.  
  447. </td>
  448. </tr>
  449.  
  450. <tr>
  451. <td valign="top" style="padding-left: 10px; padding-right:10px;padding-top:10px; padding-bottom:10px;" >
  452.  
  453. <table border="0" cellpadding="0" cellspacing="0" width="100%">
  454.                         <tr>
  455.                             <td class="tl">
  456.                                 <xsl:element name="img">
  457.                                     <xsl:attribute name="src"><xsl:copy-of select="$stylepath"/>/tbl/shim.gif</xsl:attribute>
  458.                                     <xsl:attribute name="width">2</xsl:attribute>
  459.                                     <xsl:attribute name="height">2</xsl:attribute>
  460.                                 </xsl:element>
  461.                             </td><td class="tm" width="100%"></td>
  462.                             <td class="tr">
  463.                                 <xsl:element name="img">
  464.                                     <xsl:attribute name="src"><xsl:copy-of select="$stylepath"/>/tbl/shim.gif</xsl:attribute>
  465.                                     <xsl:attribute name="width">2</xsl:attribute>
  466.                                     <xsl:attribute name="height">2</xsl:attribute>
  467.                                 </xsl:element>
  468.                             </td>
  469.                         </tr>
  470.                         <tr>
  471.                             <td class="ml"></td>
  472.                             <td width="100%" class="wbox">
  473.  
  474.  
  475.  
  476.  
  477.  
  478.  
  479.  
  480. <table border="0" cellpadding="0" cellspacing="0" width="100%" height="100%">
  481.     <tr><td valign="top">
  482.  
  483.         <xsl:apply-templates />
  484.         
  485.         <xsl:if test="update">
  486.             <script type="text/javascript">                
  487.                 document.getElementById('nameleft').className='status_redl';
  488.                 document.getElementById('nameright').className='status_redr';
  489.             </script>
  490.         </xsl:if>
  491.             
  492.             
  493.             
  494.             
  495. <xsl:if test="$irating='0'"><script type="text/javascript">document.getElementById('tableranking').className='tableranking0';var ranking='0';</script></xsl:if>
  496. <xsl:if test="$irating='1'"><script type="text/javascript">document.getElementById('tableranking').className='tableranking1';var ranking='1';</script></xsl:if>
  497. <xsl:if test="$irating='2'"><script type="text/javascript">document.getElementById('tableranking').className='tableranking2';var ranking='2';</script></xsl:if>
  498. <xsl:if test="$irating='3'"><script type="text/javascript">document.getElementById('tableranking').className='tableranking3';var ranking='3';</script></xsl:if>
  499. <xsl:if test="$irating='4'"><script type="text/javascript">document.getElementById('tableranking').className='tableranking4';var ranking='4';</script></xsl:if>
  500. <xsl:if test="$irating='5'"><script type="text/javascript">document.getElementById('tableranking').className='tableranking5';var ranking='5';</script></xsl:if>
  501.         
  502.     </td></tr>
  503. </table>
  504.  
  505.  
  506.                             </td>
  507.                             <td class="mr"></td>
  508.                         </tr>
  509.                         <tr>
  510.                             <td class="bl">
  511.                                 <xsl:element name="img">
  512.                                     <xsl:attribute name="src"><xsl:copy-of select="$stylepath"/>/img/tbl/shim.gif</xsl:attribute>
  513.                                     <xsl:attribute name="width">2</xsl:attribute>
  514.                                     <xsl:attribute name="height">2</xsl:attribute>
  515.                                 </xsl:element>
  516.                             </td>
  517.                             <td class="bm"></td>
  518.                             <td class="br">
  519.                                 <xsl:element name="img">
  520.                                     <xsl:attribute name="src"><xsl:copy-of select="$stylepath"/>/img/tbl/shim.gif</xsl:attribute>
  521.                                     <xsl:attribute name="width">2</xsl:attribute>
  522.                                     <xsl:attribute name="height">2</xsl:attribute>
  523.                                 </xsl:element>
  524.                             </td>
  525.                         </tr>
  526.                     
  527.                     </table>
  528.                     
  529.                     
  530.  
  531.  
  532.  
  533.         </td>
  534.     </tr>
  535. </table>
  536.                     
  537. </body>
  538. </html>
  539.  
  540. </xsl:template>
  541.  
  542.  
  543.  
  544.  
  545.  
  546.  
  547.  
  548.  
  549.  
  550.  
  551.  
  552. <xsl:template match="installed">
  553.             
  554.     <table border="0" cellpadding="0" cellspacing="0" width="100%">
  555.         <TR>
  556.             <TD width="150">
  557.                 <xsl:element name="img">
  558.                     <xsl:attribute name="src"><xsl:copy-of select="$stylepath"/>/tbl/cshim.gif</xsl:attribute>
  559.                     <xsl:attribute name="width">150</xsl:attribute>
  560.                     <xsl:attribute name="height">1</xsl:attribute>
  561.                 </xsl:element>
  562.             </TD>
  563.             <TD width="100%"></TD>
  564.         </TR>
  565.         
  566.         <TR><TD colspan="2">
  567.             <table border="0" width="100%" cellpadding="0" cellspacing="0">
  568.                 <TR>
  569.                     <TD class="normal" valign="top"><xsl:copy-of select="$ishortdescr"/></TD>
  570.                     <TD  style="text-align: right;" valign="top"><xsl:copy-of select="$sumbitupdate"/></TD>
  571.                 </TR>
  572.                 <TR>
  573.                     <TD colspan="2" style="text-align: right;" height="10" valign="top"></TD>
  574.                 </TR>
  575.             </table>
  576.         </TD></TR>
  577.     </table>
  578.     
  579.     
  580.     
  581.     <table border="0" cellpadding="0" cellspacing="0" width="100%">
  582.         <TR>
  583.             <TD valign="top">
  584.     <table border="0" cellpadding="0" cellspacing="0" width="100%">
  585.         <TR>
  586.             <TD width="150">
  587.                 <xsl:element name="img">
  588.                     <xsl:attribute name="src"><xsl:copy-of select="$stylepath"/>/tbl/cshim.gif</xsl:attribute>
  589.                     <xsl:attribute name="width">150</xsl:attribute>
  590.                     <xsl:attribute name="height">1</xsl:attribute>
  591.                 </xsl:element>
  592.             </TD>
  593.             <TD width="100%"></TD>
  594.         </TR>
  595.         
  596.         <xsl:if test="not($ipublisher='')"><TR><TD class="desc"><div id="str_publisher">.</div></TD><TD class="normal"><xsl:copy-of select="$ipublisher"/></TD></TR></xsl:if>
  597.         
  598.         <xsl:if test="not($ipcategory='')"><TR><TD class="desc"><div id="str_category">.</div></TD><TD class="normal"><xsl:copy-of select="$ipcategory"/>
  599.             <xsl:if test="not($icategory='')"> > <xsl:copy-of select="$icategory"/></xsl:if>
  600.         
  601.         </TD></TR></xsl:if>
  602.         
  603.         
  604.         
  605.         <xsl:if test="not($irequirements='')"><TR><TD class="desc"><div id="str_irequirements">.</div></TD><TD class="normal"><xsl:copy-of select="$irequirements"/></TD></TR></xsl:if>
  606.         
  607.         <xsl:if test="not($ilincense='')"><TR><TD class="desc"><div id="str_license">.</div></TD><TD class="normal"><xsl:copy-of select="$ilincense"/></TD></TR></xsl:if>
  608.         
  609.         <xsl:if test="not($iversion='')">
  610.             <TR>
  611.                 <TD class="desc"><div id="str_iversion">.</div></TD>
  612.                 <TD class="normal">
  613.                     <xsl:copy-of select="$iversion"/>
  614.                 </TD>
  615.             </TR>
  616.         </xsl:if>
  617.         
  618.         <xsl:if test="not($uversion='')">
  619.             <TR>
  620.                 <TD class="desc"><div id="str_uversion">.</div></TD>
  621.                 <TD class="normal">
  622.                     <b><xsl:copy-of select="$uversion"/></b>
  623.                 </TD>
  624.             </TR>
  625.         </xsl:if>
  626.         
  627.         <xsl:if test="$uversion=''">
  628.             <TR>
  629.                 <TD class="desc"><div id="str_uversion">.</div></TD>
  630.                 <TD class="normal">
  631.                     <xsl:copy-of select="$iversion"/>
  632.                 </TD>
  633.             </TR>
  634.         </xsl:if>
  635.         
  636.         
  637.         <TR>
  638.             <TD class="desc"><div id="str_ranking">.</div></TD>
  639.             <TD class="normal">
  640.                 <xsl:copy-of select="$ranking"/>
  641.             </TD>
  642.         </TR>
  643.         
  644.         <TR>
  645.             <TD class="desc" ><div id="str_allranking">.</div></TD>
  646.             <TD class="normal" >
  647.                 <xsl:copy-of select="$allranking"/>
  648.             </TD>
  649.         </TR>
  650.     </table>
  651.     
  652.     </TD>
  653.     <TD valign="top" width="400">
  654.         <xsl:copy-of select="$mynotesfield"/>
  655.     </TD>
  656.     </TR>
  657.     </table>
  658.     
  659.     
  660.     
  661.     <table border="0" cellpadding="0" cellspacing="0" width="100%">
  662.         <TR>
  663.             <TD width="150">
  664.                 <xsl:element name="img">
  665.                     <xsl:attribute name="src"><xsl:copy-of select="$stylepath"/>/tbl/cshim.gif</xsl:attribute>
  666.                     <xsl:attribute name="width">150</xsl:attribute>
  667.                     <xsl:attribute name="height">1</xsl:attribute>
  668.                 </xsl:element>
  669.             </TD>
  670.             <TD width="100%"></TD>
  671.         </TR>
  672.         
  673.         <TR>
  674.             <td></td>
  675.             <TD style="padding-left:5px">
  676.                 <table border="0" cellpadding="0" cellspacing="0">
  677.                     <tr>
  678.                         <td valign="top">
  679.         
  680.         
  681.         
  682.         <xsl:for-each select="DownloadButtons">
  683.             <xsl:if test="DownloadButton">
  684.                 <TABLE border="0" cellpadding="5" cellspacing="0"><TR><xsl:apply-templates/></TR></TABLE>
  685.             </xsl:if>
  686.         </xsl:for-each>
  687.         
  688.                         </td>
  689.                         <td valign="top">
  690.         
  691.         
  692.         <xsl:for-each select="BuyButtons">
  693.             <xsl:if test="BuyButton">
  694.                 <TABLE border="0" cellpadding="5" cellspacing="0"><TR><xsl:apply-templates/></TR></TABLE>
  695.             </xsl:if>
  696.         </xsl:for-each>
  697.         
  698.                         </td>
  699.                         <td valign="top">
  700.                         <xsl:for-each select="InfoButtons">
  701.                             <xsl:if test="InfoButton">
  702.                                 <TABLE border="0" cellpadding="5" cellspacing="0"><TR><xsl:apply-templates/></TR></TABLE>
  703.                             </xsl:if>
  704.                         </xsl:for-each>
  705.                         </td>
  706.                         
  707.                     </tr>
  708.                 </table>
  709.         
  710.  
  711.         
  712.         </TD>
  713.         </TR>
  714.     
  715.  
  716.         
  717.  
  718.         
  719.         
  720.         
  721.  
  722.         
  723.  
  724.         
  725.         
  726.         
  727.         
  728.         
  729.         
  730.         
  731.         
  732.         
  733.         <xsl:if test="not($idesciption='')"><TR><TD class="desc"><div id="str_desc">.</div></TD><TD class="normal"><xsl:copy-of select="$idesciption"/></TD></TR></xsl:if>
  734.         
  735.         
  736.     </table>
  737.     
  738.     
  739. </xsl:template>
  740.  
  741.  
  742.  
  743.  
  744.  
  745.  
  746.  
  747.  
  748. <xsl:template match="details/software/installed/name"></xsl:template>
  749.  
  750. <xsl:template match="details/software/installed/version"></xsl:template>
  751. <xsl:template match="details/software/installed/publisher"></xsl:template>
  752. <xsl:template match="details/software/installed/contact"></xsl:template>
  753. <xsl:template match="details/software/installed/helplink"></xsl:template>
  754. <xsl:template match="details/software/installed/telephone"></xsl:template>
  755. <xsl:template match="details/software/installed/readme/display"></xsl:template>
  756. <xsl:template match="details/software/installed/readme/cmd"></xsl:template>
  757. <xsl:template match="details/software/installed/updates"></xsl:template>
  758. <xsl:template match="details/software/installed/comment"></xsl:template>
  759. <xsl:template match="details/software/installed/date"></xsl:template>
  760. <xsl:template match="details/software/installed/size"></xsl:template>
  761. <xsl:template match="details/software/installed/uninstall"></xsl:template>
  762. <xsl:template match="details/software/installed/repair"></xsl:template>
  763.  
  764.  
  765.  
  766.  
  767.  
  768.  
  769.  
  770.  
  771.  
  772.  
  773.  
  774.  
  775. <xsl:template match="InfoButton">
  776.     <TD class="buymeta">
  777.     <table border="0" cellpadding="0" cellspacing="0" width="150">
  778.         <tr>
  779.         <td class="infol">
  780.             <xsl:element name="a">
  781.                 <xsl:attribute name="href">#</xsl:attribute>
  782.                 <xsl:attribute name="onclick">window.external.OpenURL('<xsl:value-of select="Url"/>');return false;</xsl:attribute>
  783.                 <xsl:element name="img">
  784.                     <xsl:attribute name="src"><xsl:copy-of select="$stylepath"/>tbl\shim.gif</xsl:attribute>
  785.                     <xsl:attribute name="width">40</xsl:attribute>
  786.                     <xsl:attribute name="height">42</xsl:attribute>
  787.                     <xsl:attribute name="border">0</xsl:attribute>
  788.                     <xsl:attribute name="alt"><xsl:value-of select="DisplayUrl"/></xsl:attribute>
  789.                 </xsl:element>
  790.             </xsl:element>
  791.         </td>
  792.         
  793.         <td class="buym" width="100%">
  794.         <xsl:element name="a">
  795.             <xsl:attribute name="href">#</xsl:attribute>
  796.             <xsl:attribute name="onclick">window.external.OpenURL('<xsl:value-of select="Url"/>');return false;</xsl:attribute>
  797.             <xsl:attribute name="class">buy</xsl:attribute>
  798.             <xsl:element name="div">
  799.                 <xsl:attribute name="id">str_info_<xsl:number level="single" count="InfoButton" format="1" /></xsl:attribute>
  800.                 .
  801.             </xsl:element>
  802.         </xsl:element>        
  803.         </td>
  804.         
  805.         <td class="buyr">
  806.             <xsl:element name="img">
  807.                 <xsl:attribute name="src"><xsl:copy-of select="$stylepath"/>tbl\shim.gif</xsl:attribute>
  808.                 <xsl:attribute name="width">10</xsl:attribute>
  809.                 <xsl:attribute name="height">42</xsl:attribute>
  810.             </xsl:element>
  811.         </td>
  812.         </tr>
  813.     </table>
  814.     </TD>
  815.  
  816.  
  817.  
  818. </xsl:template>
  819.  
  820.  
  821.  
  822.  
  823.  
  824.  
  825.  
  826.  
  827.  
  828.  
  829.  
  830. <xsl:template match="DownloadButton">
  831.     <TD class="buymeta">
  832.     <table border="0" cellpadding="0" cellspacing="0" width="150">
  833.         <tr>
  834.         <td class="downloadl">
  835.             <xsl:element name="a">
  836.                 <xsl:attribute name="href">#</xsl:attribute>
  837.                 <xsl:attribute name="onclick">window.external.OpenURL('<xsl:value-of select="Url"/>');return false;</xsl:attribute>
  838.                 <xsl:element name="img">
  839.                     <xsl:attribute name="src"><xsl:copy-of select="$stylepath"/>tbl\shim.gif</xsl:attribute>
  840.                     <xsl:attribute name="width">40</xsl:attribute>
  841.                     <xsl:attribute name="height">42</xsl:attribute>
  842.                     <xsl:attribute name="border">0</xsl:attribute>
  843.                 </xsl:element>
  844.             </xsl:element>
  845.         </td>
  846.         
  847.         <td class="buym" width="100%">
  848.             <xsl:element name="a">
  849.                 <xsl:attribute name="href">#</xsl:attribute>
  850.                 <xsl:attribute name="onclick">window.external.OpenURL('<xsl:value-of select="Url"/>');return false;</xsl:attribute>
  851.                 <xsl:attribute name="class">buy</xsl:attribute>
  852.                 <xsl:element name="div">
  853.                     <xsl:attribute name="id">str_download_<xsl:number level="single" count="DownloadButton" format="1" /></xsl:attribute>
  854.                     .
  855.                 </xsl:element>
  856.             </xsl:element>        
  857.         </td>
  858.         
  859.         <td class="buyr">
  860.             <xsl:element name="img">
  861.                 <xsl:attribute name="src"><xsl:copy-of select="$stylepath"/>tbl\shim.gif</xsl:attribute>
  862.                 <xsl:attribute name="width">10</xsl:attribute>
  863.                 <xsl:attribute name="height">42</xsl:attribute>
  864.             </xsl:element>
  865.         </td>
  866.         </tr>
  867.     </table>
  868.     </TD>
  869. </xsl:template>
  870.  
  871.  
  872.  
  873.  
  874.  
  875.  
  876.  
  877.  
  878.  
  879.  
  880.  
  881.  
  882.  
  883.  
  884. <xsl:template match="BuyButton">
  885.     <TD class="buymeta" valign="top">
  886.     <table border="0" cellpadding="0" cellspacing="0" width="150">
  887.         <tr>
  888.         <td class="buyl">
  889.             <xsl:element name="a">
  890.             <xsl:attribute name="href">#</xsl:attribute>
  891.             <xsl:attribute name="onclick">window.external.OpenURL('<xsl:value-of select="Url"/>');return false;</xsl:attribute>
  892.                 <xsl:element name="img">
  893.                     <xsl:attribute name="src"><xsl:copy-of select="$stylepath"/>tbl\shim.gif</xsl:attribute>
  894.                     <xsl:attribute name="width">40</xsl:attribute>
  895.                     <xsl:attribute name="height">42</xsl:attribute>
  896.                     <xsl:attribute name="border">0</xsl:attribute>
  897.                 </xsl:element>
  898.             </xsl:element>
  899.         </td>
  900.         
  901.         <td class="buym" width="100%" style="white-space: nowrap;">
  902.         <xsl:element name="a">
  903.             <xsl:attribute name="href">#</xsl:attribute>
  904.             <xsl:attribute name="onclick">window.external.OpenURL('<xsl:value-of select="Url"/>');return false;</xsl:attribute>
  905.             
  906.             <xsl:attribute name="class">buy</xsl:attribute>
  907.             <xsl:element name="div">
  908.                 <xsl:attribute name="id">str_buynow_<xsl:number level="single" count="BuyButton" format="1" /></xsl:attribute>
  909.                 .
  910.             </xsl:element>
  911.         </xsl:element>        
  912.         </td>
  913.         
  914.         <td class="buyr">
  915.             <xsl:element name="img">
  916.                 <xsl:attribute name="src"><xsl:copy-of select="$stylepath"/>tbl\shim.gif</xsl:attribute>
  917.                 <xsl:attribute name="width">10</xsl:attribute>
  918.                 <xsl:attribute name="height">42</xsl:attribute>
  919.             </xsl:element>
  920.         </td>
  921.         </tr>
  922.     </table>
  923.     
  924.     
  925.     <nobr>
  926.     
  927.     <div style="margin-top:0px;display:inline;color:#000000">
  928.         <xsl:if test="DisplayName">
  929.     
  930.             <font color="#000000">
  931.                 <xsl:element name="div">
  932.                     <xsl:attribute name="style">display: inline;</xsl:attribute>
  933.                     <xsl:attribute name="id">str_buyfrom_<xsl:number level="single" count="BuyButton" format="1" /></xsl:attribute>
  934.                     .
  935.                 </xsl:element>
  936.              </font>
  937.             <xsl:value-of select="DisplayName"/>
  938.  
  939.         </xsl:if>
  940.  
  941.     
  942.     
  943.  
  944.     <xsl:if test="LinkId">    
  945.         <xsl:element name="div">
  946.             <xsl:attribute name="id"><xsl:value-of select="LinkId"/></xsl:attribute>    
  947.         </xsl:element>
  948.     
  949.         <xsl:element name="img">
  950.             <xsl:attribute name="src"><xsl:copy-of select="$stylepath"/>ani.gif</xsl:attribute>
  951.             <xsl:attribute name="id"><xsl:value-of select="LinkId"/>ani</xsl:attribute>
  952.             <xsl:attribute name="style">display: block; margin-top:0px;</xsl:attribute>
  953.         </xsl:element>
  954.     </xsl:if>
  955.     
  956.     </div>
  957.     </nobr>
  958.     </TD>
  959. </xsl:template>
  960.  
  961.  
  962.  
  963.  
  964.  
  965.  
  966.  
  967. <xsl:variable name="sumbitupdate">
  968.     <table border="0" cellpadding="0" cellspacing="0" style="margin-left:20px;margin-right:20px">
  969.         <tr>
  970.         <td class="subl">
  971.             <xsl:element name="img">
  972.                 <xsl:attribute name="src"><xsl:copy-of select="$stylepath"/>tbl\shim.gif</xsl:attribute>
  973.                 <xsl:attribute name="width">8</xsl:attribute>
  974.                 <xsl:attribute name="height">21</xsl:attribute>
  975.             </xsl:element>
  976.         </td>
  977.         
  978.         <td class="subm" style="white-space:nowrap;">
  979.         <xsl:element name="form">
  980.             <xsl:attribute name="id">uform</xsl:attribute>
  981.             <xsl:attribute name="method">POST</xsl:attribute>
  982.             <xsl:attribute name="target">_blank</xsl:attribute>
  983.             <xsl:attribute name="action">http://www.updatestar.com/submit/index.php</xsl:attribute>
  984.             
  985.             <xsl:element name="input">
  986.                 <xsl:attribute name="type">hidden</xsl:attribute>
  987.                 <xsl:attribute name="name">iname</xsl:attribute>
  988.                 <xsl:attribute name="value"><xsl:copy-of select="$iname"/></xsl:attribute>
  989.             </xsl:element>
  990.             
  991.             
  992.             
  993.             <xsl:element name="input">
  994.                 <xsl:attribute name="type">hidden</xsl:attribute>
  995.                 <xsl:attribute name="name">ishortdescr</xsl:attribute>
  996.                 <xsl:attribute name="value"><xsl:copy-of select="$ishortdescr"/></xsl:attribute>
  997.             </xsl:element>
  998.             
  999.             
  1000.             <xsl:element name="input">
  1001.                 <xsl:attribute name="type">hidden</xsl:attribute>
  1002.                 <xsl:attribute name="name">ipublisher</xsl:attribute>
  1003.                 <xsl:attribute name="value"><xsl:copy-of select="$ipublisher"/></xsl:attribute>
  1004.             </xsl:element>
  1005.             
  1006.             
  1007.             
  1008.             <xsl:element name="input">
  1009.                 <xsl:attribute name="type">hidden</xsl:attribute>
  1010.                 <xsl:attribute name="name">icategory</xsl:attribute>
  1011.                 <xsl:attribute name="value"><xsl:copy-of select="$icategory"/></xsl:attribute>
  1012.             </xsl:element>
  1013.             
  1014.             
  1015.             <xsl:element name="input">
  1016.                 <xsl:attribute name="type">hidden</xsl:attribute>
  1017.                 <xsl:attribute name="name">ilincense</xsl:attribute>
  1018.                 <xsl:attribute name="value"><xsl:copy-of select="$ilincense"/></xsl:attribute>
  1019.             </xsl:element>
  1020.             
  1021.             
  1022.             <xsl:element name="input">
  1023.                 <xsl:attribute name="type">hidden</xsl:attribute>
  1024.                 <xsl:attribute name="name">iversion</xsl:attribute>
  1025.                 <xsl:attribute name="value"><xsl:copy-of select="$iversion"/></xsl:attribute>
  1026.             </xsl:element>
  1027.             
  1028.                 
  1029.             <xsl:element name="input">
  1030.                 <xsl:attribute name="type">hidden</xsl:attribute>
  1031.                 <xsl:attribute name="name">uversion</xsl:attribute>
  1032.                 <xsl:attribute name="value"><xsl:copy-of select="$uversion"/></xsl:attribute>
  1033.             </xsl:element>
  1034.                 
  1035.             
  1036.             <xsl:element name="input">
  1037.                 <xsl:attribute name="type">hidden</xsl:attribute>
  1038.                 <xsl:attribute name="name">idesciption</xsl:attribute>
  1039.                 <xsl:attribute name="value"><xsl:copy-of select="$idesciption"/></xsl:attribute>
  1040.             </xsl:element>
  1041.             
  1042.             
  1043.             <xsl:element name="input">
  1044.                 <xsl:attribute name="type">hidden</xsl:attribute>
  1045.                 <xsl:attribute name="name">lang</xsl:attribute>
  1046.                 <xsl:attribute name="value"><xsl:copy-of select="$language"/></xsl:attribute>
  1047.             </xsl:element>
  1048.                         
  1049.             
  1050.             
  1051.  
  1052.             
  1053.             
  1054.             <xsl:for-each select="details/software/installed/BuyButtons/BuyButton">
  1055.                     <xsl:element name="input">
  1056.                         <xsl:attribute name="type">hidden</xsl:attribute>
  1057.                         <xsl:attribute name="name">BuyButton_URL[]</xsl:attribute>
  1058.                         <xsl:attribute name="value"><xsl:value-of select="Url"/></xsl:attribute>
  1059.                     </xsl:element>
  1060.                     <xsl:element name="input">
  1061.                         <xsl:attribute name="type">hidden</xsl:attribute>
  1062.                         <xsl:attribute name="name">BuyButton_DisplayName[]</xsl:attribute>
  1063.                         <xsl:attribute name="value"><xsl:value-of select="DisplayName"/></xsl:attribute>
  1064.                     </xsl:element>
  1065.             </xsl:for-each>
  1066.             
  1067.             
  1068.             <xsl:for-each select="details/software/installed/DownloadButtons/DownloadButton">
  1069.                     <xsl:element name="input">
  1070.                         <xsl:attribute name="type">hidden</xsl:attribute>
  1071.                         <xsl:attribute name="name">DownloadButton_URL[]</xsl:attribute>
  1072.                         <xsl:attribute name="value"><xsl:value-of select="Url"/></xsl:attribute>
  1073.                     </xsl:element>
  1074.             </xsl:for-each>
  1075.             
  1076.         
  1077.         </xsl:element>    
  1078.         
  1079.         
  1080.         
  1081.         <xsl:element name="a">
  1082.             <xsl:attribute name="href">javascript:window.external.OpenUpdateSend('<xsl:copy-of select="$iprodkey"/>');</xsl:attribute>
  1083.             <xsl:attribute name="class">sublink</xsl:attribute>
  1084.             <div id="str_sendupdate">.</div>
  1085.         </xsl:element>        
  1086.         </td>
  1087.         
  1088.         <td class="subr">
  1089.             <xsl:element name="img">
  1090.                 <xsl:attribute name="src"><xsl:copy-of select="$stylepath"/>tbl\shim.gif</xsl:attribute>
  1091.                 <xsl:attribute name="width">8</xsl:attribute>
  1092.                 <xsl:attribute name="height">21</xsl:attribute>
  1093.             </xsl:element>
  1094.         </td>
  1095.         </tr>
  1096.         
  1097.     </table>
  1098. </xsl:variable>
  1099.  
  1100.  
  1101.  
  1102.  
  1103. </xsl:stylesheet>
  1104.